/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package sda.levelup.rating;

/**
 *
 * @author Дима
 */
public class TestRating
{
    public static void main(String[] args) {
        RatingWorker rw = new RatingWorker();
        User u1 = new User(1, 50);
        User u2 = new User(2, 100);
        User u3 = new User(3, 200);
        User u4 = new User(4, 75);
        User u5 = new User(5, 50);
        User u6 = new User(6, 250);
        User u7 = new User(7, 25);
        User u8 = new User(8, 300);
        
        rw.addUser(u1);
        rw.addUser(u2);
        rw.addUser(u3);
        rw.addUser(u4);
        rw.addUser(u5);
        rw.addUser(u6);
        rw.addUser(u7);
        rw.addUser(u8);
        rw.topFive();
    }
}
